From 257f29b867ba47f6f87c097c13746b291b145506 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Wed, 28 Oct 2020 13:01:52 +0000 Subject: [PATCH] jail: don't fail if maskedPath cannot be found Signed-off-by: Daniel Golle --- jail/jail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jail/jail.c b/jail/jail.c index 012d954..4b368ea 100644 --- a/jail/jail.c +++ b/jail/jail.c @@ -2100,7 +2100,7 @@ static int parseOCIlinux(struct blob_attr *msg) if (tb[OCI_LINUX_MASKEDPATHS]) { blobmsg_for_each_attr(cur, tb[OCI_LINUX_MASKEDPATHS], rem) { - res = add_mount((void *)(-1), blobmsg_get_string(cur), NULL, 0, 0, NULL, 1); + res = add_mount((void *)(-1), blobmsg_get_string(cur), NULL, 0, 0, NULL, 0); if (res) return res; } -- 2.30.2